import app  # 执行 __init__.py
from flask_script import Manager

from flask_migrate import Migrate,MigrateCommand
my_app = app.create_app()  # 启动app
manager = Manager(my_app)

from app import db
Migrate(my_app,db)  # 支持的app
manager.add_command("db", MigrateCommand)

"""


"""

if __name__ == "__main__":
    manager.run()

